package controllers;

import controllers.multicast.MessageReceiver;
import ch.bfh.abch.rems.REMSMulticastController;
import ch.bfh.abcm.rems.interfaces.REMSMessageReceiver;
import play.jobs.Job;
import play.jobs.OnApplicationStart;

@OnApplicationStart
public class ApplicationStartJob extends Job{
    
    @Override
    public void doJob() throws Exception {
        new REMSMulticastController().startMulticastReceiver(new MessageReceiver());
    }

}
